import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// a.1 引入elementui 模块
import ElementUI from 'element-ui';
// a.2 引入样式文件
import 'element-ui/lib/theme-chalk/index.css';
// a.3 在Vue中安装elementui 插件
Vue.use(ElementUI);
Vue.config.productionTip = false
//b.1 引入自定义 axios
import axios from "@/myaxios/myaxios"
//b.2 挂载Vue原型上
Vue.prototype.$axios = axios;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
